package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.ClbxEntity;

import java.util.List;
import java.util.Map;

/**
 * 差旅报销
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-30 20:49:24
 */
public interface ClbxService {

	Map<String, Object> queryObject(String clbxId);
	
	List<ClbxEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(JSONObject params);
	
	void update(JSONObject params);
	
	void delete(String clbxId);
	
	void deleteBatch(String[] clbxIds);

	void addUser(Integer[] userIds,String clbx_id);

    void process(ClbxEntity entity);

	void reject(ClbxEntity overtime);

	String submit(Integer overtime);
}
